package lobby.exchangeddata
{
	
	/**
	 * ...
	 * @author Bamboo
	 */
	public class ItemGameTypeInCasino
	{
		private var casinoId:String;
		private var gameType:String;
		private var gameTypeIndex:Number;
		public function ItemGameTypeInCasino(casinoId:String, gameType:String)
		{
			this.casinoId = casinoId;
			this.gameType = gameType;
			
			switch(gameType) { 
				case "Ba": 
					this.gameTypeIndex = 1; 
				break;
				case "Bi": 
					this.gameTypeIndex = 2; 
				break;
				case "Ft": 
					this.gameTypeIndex = 3; 
				break;
				case "Dt": 
					this.gameTypeIndex = 4; 
				break;
				case "Ro": 
					this.gameTypeIndex = 5; 
				break;
				case "Sd": 
					this.gameTypeIndex = 6; 
				break;
				case "Dc": 
					this.gameTypeIndex = 7; 
				break;
			}
		}
		
		public function get getCasinoId():String
		{
			return this.casinoId;
		}
		
		public function get getGameType():String
		{
			return this.gameType;
		}
		public function get getGameTypeIndex():Number 
		{
			return this.gameTypeIndex;
		}
	}

}